﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using Space.Model;
using Space.Model.Data;

namespace Space.Library.Extensions
{
    public static class PointExtensions
    {
        public static Vector2D AsVectorToMid(this Point p)
        {
            return new Vector2D(p) * Board.Ssize + Board.SsizeHalf;
        }
    }
}
